package com.petalsgroup.petals.service.user;

import com.petalsgroup.petals.pojo.AnimationSimpleVO;
import com.petalsgroup.petals.pojo.UserDO;

import java.util.List;
import java.util.Map;

public interface MySelfService {

    Boolean updateUser(UserDO user);

    List<AnimationSimpleVO> findAidByUid(Integer uid);

    List<AnimationSimpleVO> findCollectByAname(String name);


    Boolean cancelCollect(Integer aid, Integer uid);

    UserDO findUidByUsername(String username);

    Boolean findAttention(Integer uid, Integer uided);

    void saveAttention(Integer uid, Integer uided);

    Integer findAttentionNum(Integer uid);
}
